Once a window is maximized/fullscreen, resize increments should be
ignored otherwise the window may appear smaller than the screen size.
That also applies to configure requests as well.
https://bugzilla.gnome.org/show_bug.cgi?id=751368
}
/* Override any size with gtk_window_resize() values */
- if (info)
+ if (priv->maximized || priv->fullscreen)
+ {
+ /* Unless we are maximized or fullscreen */
+ gtk_window_get_remembered_size (window, width, height);
+ }
+ else if (info)
{
if (info->resize_width > 0)
*width = info->resize_width;